var box3 = echarts.init(document.getElementById("box3"))
function resizeChart(){
  box3.resize()
}
window.addEventListener('resize',resizeChart)
var box3Option = {
  title: {
    text: '33%',
    left: 'center',
    top: '55',
    textStyle:{
      color:'#1890fe'
    },
    subtext: 'Java开发工程师',
    subtextStyle: {
      color: '#909090',
    },
    // itemGap: -20,
  },
  visualMap: {
    show: false,
  },
  series: [
    {
      type: 'pie',
      radius: ['50%', '80%'],
      center: ['50%', '50%'],
      data: [
        { value: 67, itemStyle: { color: '#f1f1f1' } },
        { value: 33, itemStyle: { color: '#1890fe' } }
      ],
      label: {
        show: false,
      },
      itemStyle:{
        borderWidth:7,
        borderColor:'#fff'
      },
      animationType: 'scale',
      animationEasing: 'elasticOut',
      animationDelay: function (idx) {
        return Math.random() * 200;
      }
    }
  ]
}
box3.setOption(box3Option)